package com.wsl.netty.websocket.conifg;

import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

/**
 * @author ：wangshuliang
 * @date ：Created in 2019/6/5 10:34
 * @description：存储整个工程的全局配置
 * @modified By：
 */
public class NettyConfig {
    /**
     * 存储每一个客户端接入进来时的channel对象
     */
    public static ChannelGroup group = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);
}
